home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / ISDBF.HDR < prev    next >
Text File  |  1994-04-25  |  957b  |  38 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _IsDBF( cFileName ) --> lIsDBF
  8.  
  9. PARAMETERS:
  10.  
  11. cFileName : The name of the file to check
  12.  
  13. SHORT:
  14.  
  15. Determine if a file is a dBASE III+ compatible database file.
  16.  
  17. DESCRIPTION:
  18.  
  19. _IsDBF() returns TRUE if cFileName has a 03h or 83h in the first byte
  20. (indicating a POSSIBLE dBase III+ database)
  21.  
  22. NOTE:
  23.  
  24. Just because a file DOES have an 03h or 83h in the first byte does not
  25. necessarily mean that the file actually IS a dBASE database.  Use judgement
  26. when using this function.
  27.  
  28. See also _IsDBFMem() which returns information regarding the presence of
  29. MEMO fields in a database.
  30.  
  31. EXAMPLE:
  32.  
  33. t = _IsDBF('TEST.DBF')
  34.  
  35. Result: t = TRUE
  36.  
  37. ******************************************************************************/
  38.